/******/ (function(modules) { // webpackBootstrap
/******/ 	// The module cache
/******/ 	var installedModules = {};

/******/ 	// The require function
/******/ 	function __webpack_require__(moduleId) {

/******/ 		// Check if module is in cache
/******/ 		if(installedModules[moduleId])
/******/ 			return installedModules[moduleId].exports;

/******/ 		// Create a new module (and put it into the cache)
/******/ 		var module = installedModules[moduleId] = {
/******/ 			exports: {},
/******/ 			id: moduleId,
/******/ 			loaded: false
/******/ 		};

/******/ 		// Execute the module function
/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);

/******/ 		// Flag the module as loaded
/******/ 		module.loaded = true;

/******/ 		// Return the exports of the module
/******/ 		return module.exports;
/******/ 	}


/******/ 	// expose the modules object (__webpack_modules__)
/******/ 	__webpack_require__.m = modules;

/******/ 	// expose the module cache
/******/ 	__webpack_require__.c = installedModules;

/******/ 	// __webpack_public_path__
/******/ 	__webpack_require__.p = "";

/******/ 	// Load entry module and return exports
/******/ 	return __webpack_require__(0);
/******/ })
/************************************************************************/
/******/ ({

/***/ 0:
/***/ function(module, exports, __webpack_require__) {

	/**
	 * Created by Administrator on 2017/2/27.
	 */
	var Input = __webpack_require__(9);
	var Password = __webpack_require__(5);
	var Button = __webpack_require__(12);
	var HyperLink = __webpack_require__(17);
	var FormItem = __webpack_require__(7);
	var GetCode = __webpack_require__(10);
	var Checkbox = __webpack_require__(16);
	var Success = __webpack_require__(67);
	function hasClass(elem, cls) {
	    elem = elem || {};
	    return new RegExp("\\b" + cls + "\\b").test(elem.className);
	};
	//添加样式
	function addClass(elem, cls) {
	    elem = elem || {};
	    hasClass(elem, cls) || (elem.className += " " + cls);
	    elem.className = elem.className.replace(/^\s|\s$/g, "").replace(/\s+/g, " ");
	    return this;
	};
	//删除样式
	function removeClass(elem, cls) {
	    elem = elem || {};
	    if (hasClass(elem, cls)) {
	        elem.className = elem.className.replace(new RegExp("(\\s|^)" + cls + "(\\s|$)"), "");
	    }
	    return this;
	};
	var Root = React.createClass({displayName: "Root",
	    getInitialState: function () {
	        return{
	            type:0,
	            display:'block'
	        }
	    },
	    getType:function (val) {
	        this.setState({type:val});
	        this.refs.input1.clearValue();
	        this.refs.input2.clearValue();
	        this.refs.msgDM.clearValue();
	        this.refs.pswDM.clearValue();
	        this.refs.pswDM2.clearValue();
	        this.refs.tjDM.clearValue();
	        PageDM.btn1.type = val;
	        PageDM.typeToggle.onClick();
	    },
	    checkboxClick:function(v){
	        PageDM.checkboxDM.setValue(v);
	        PageDM.checkboxDM.onClick(v);
	    },
	    componentDidMount: function(){
	        var _this = this;
	        var PageDM = window.PageDM;
	        UEventHub.on(PageDM.imgCode.dmbind + UI_EVENT_CONST.SET_UDM_VALUE_EVENT,function(v){
	            var _node = this.refs.imgcode;
	            _node.setAttribute('src',v);
	        }.bind(this));

	        UEventHub.on('getcode',function(v){
	            if(v == PageDM.getBtnCode){
	                _this.refs.getcode.toCount();
	            }
	        }.bind(this));

	        UEventHub.on('next',function (v) {
	            if(v){
	                ReactDOM.render(React.createElement(Success, {pagedm: PageDM}),_this.refs.container);
	            }
	        })
	        UEventHub.emit("pageLoad","hello world!");
	    },
	    render: function() {
	        return (
	            React.createElement("div", null, 
	                React.createElement("div", {className: "container mod-reg"}, " ", React.createElement("span", {className: "angle angle-top"}), " ", React.createElement("span", {className: "angle angle-bottom"}), 
	                    React.createElement("div", {ref: "container"}, 
	                        React.createElement("div", {className: "form"}, 
	                            React.createElement("div", {className: "reg-tab"}, 
	                                React.createElement("ul", {ref: "type"}, 
	                                    React.createElement("li", {className: this.state.type ? '': 'current', onClick: function(){this.getType(0)}}, React.createElement("b", null, "个人注册"), React.createElement("span", {className: "bg"})), 
	                                    React.createElement("li", {className: this.state.type ? 'current': '', onClick: function(){this.getType(1)}}, React.createElement("b", null, "企业注册"), React.createElement("span", {className: "bg"})), 
	                                    React.createElement("div", {className: "clear"})
	                                )
	                            ), 
	                            React.createElement("div", {className: "form-reg"}, 
	                                React.createElement(FormItem, {ref: "input1", label: PageDM.input1.label, id: PageDM.input1.id, dmbind: PageDM.input1.dmbind}, 
	                                    React.createElement(Input, {className: "ucs-input", name: PageDM.input1.name, placeholder: "请输入手机号码", value: PageDM.input1.value, dmbind: PageDM.input1.dmbind})
	                                ), 
	                                React.createElement(FormItem, {ref: "input2", label: PageDM.input2.label, dmbind: PageDM.input2.dmbind}, 
	                                    React.createElement(Input, {id: PageDM.input2.id, className: "ucs-input ucs-input-code", type: "text", name: PageDM.input2.name, placeholder: "请输入图形验证码", value: PageDM.input2.value, dmbind: PageDM.input2.dmbind}), 
	                                    React.createElement("a", {href: "javascript:void (0)", onClick: PageDM.imgCode.onClick}, 
	                                        React.createElement("img", {src: PageDM.imgCode.value, className: "f-left img-code", ref: "imgcode", style: {height:"40px"}})
	                                    )
	                                ), 
	                                React.createElement(FormItem, {ref: "msgDM", label: PageDM.msgDM.label, id: PageDM.msgDM.id, name: PageDM.msgDM.name, placeholder: "请输入短信验证码", value: PageDM.msgDM.value, dmbind: PageDM.msgDM.dmbind}, 
	                                    React.createElement(Input, {id: PageDM.msgDM.id, name: PageDM.msgDM.name, className: "ucs-input ucs-input-code", placeholder: "请输入短信验证码", value: PageDM.msgDM.value, dmbind: PageDM.msgDM.dmbind}), 
	                                    React.createElement(GetCode, {dmbind: PageDM.msgDM.dmbind, id: PageDM.getBtnCode.id, className: "btn-code btn ucs-btn", ref: "getcode", count: PageDM.getBtnCode.count, onClick: PageDM.getBtnCode.onClick, onMouseDown: PageDM.getBtnCode.onMouseDown})
	                                ), 
	                                React.createElement(FormItem, {ref: "pswDM", label: PageDM.pswDM.label, id: PageDM.pswDM.id, dmbind: PageDM.pswDM.dmbind}, 
	                                    React.createElement(Password, {className: "ucs-input", name: PageDM.pswDM.name, placeholder: "请设置登录密码", value: PageDM.pswDM.value, dmbind: PageDM.pswDM.dmbind})
	                                ), 
	                                React.createElement(FormItem, {ref: "pswDM2", label: PageDM.pswDM2.label, id: PageDM.pswDM2.id, dmbind: PageDM.pswDM2.dmbind}, 
	                                    React.createElement(Password, {className: "ucs-input", name: PageDM.pswDM2.name, placeholder: "请再次输入登录密码", value: PageDM.pswDM2.value, dmbind: PageDM.pswDM2.dmbind})
	                                ), 
	                                React.createElement(FormItem, {ref: "tjDM", label: PageDM.tjDM.label, style: {display:this.state.type ? 'none' : 'block'}, id: PageDM.tjDM.id, dmbind: PageDM.tjDM.dmbind}, 
	                                    React.createElement(Input, {className: "ucs-input", name: PageDM.tjDM.name, placeholder: "请输入推荐码", value: PageDM.tjDM.value, dmbind: PageDM.tjDM.dmbind})
	                                ), 
	                                React.createElement("div", {className: "ucs-form-group"}, 
	                                    React.createElement("label", null, " "), 
	                                    React.createElement("div", {className: "input"}, 
	                                        React.createElement(Checkbox, {value: PageDM.checkboxDM.value, ref: "checkedbox", id: PageDM.checkboxDM.id, text: "我已阅读并同意", onClick: this.checkboxClick, dmbind: PageDM.checkboxDM.dmbind, className: "reg-checkbox"}), 
	                                        React.createElement("a", {href: PageDM.URL.agreement.link, className: "fc-link", target: "_blank"}, " 《", PageDM.URL.agreement.name, "》 ")
	                                    )
	                                ), 
	                                React.createElement("div", {className: "ucs-form-group auto-height"}, 
	                                    React.createElement("label", null, " "), 
	                                    React.createElement("div", {className: "input"}, 
	                                        React.createElement(Button, {value: "注册", id: PageDM.btn1.id, className: "btn-confirm btn btn-width", dmbind: PageDM.btn1.dmbind, onClick: PageDM.btn1.onClick, onMouseDown: PageDM.btn1.onMouseDown})
	                                    )
	                                )
	                            ), 
	                            React.createElement("div", {className: "clear"})
	                        ), 
	                        React.createElement("div", {className: "reg-login"}, " ", React.createElement("span", {className: "or"}, "or"), 
	                            React.createElement("div", {className: "txt"}, 
	                                React.createElement("p", null, "已有平台账号"), 
	                                React.createElement("p", null, React.createElement("a", {href: PageDM.URL.login, className: "fc-link"}, " 直接登录", React.createElement("i", {className: "icon-go iconfont"})))
	                            )
	                        )
	                    )

	                )

	            )
	        )
	    }
	});
	ReactDOM.render(React.createElement(Root, null), document.getElementById('giraffe'));

/***/ },

/***/ 5:
/***/ function(module, exports) {

	/**
	 * Created by DuHuiling on 2017/2/21.
	 */
	var Password = React.createClass({displayName: "Password",
	    getDefaultProps:function(){
	        return{
	            "id":"",
	            "value":"",
	            "className":"",
	            "dmbind":"",
	            "placeholder":"请输入密码",
	            "onkeypress":"",
	            onFocus:function(){}
	        }
	    },
	    _getNode:function(nid){
	        var _nodes = document.getElementsByTagName('div'),
	            _getNode;
	        for(var i in _nodes){
	            if(_nodes[i].refs == nid){
	                _getNode = _nodes[i];
	            }
	        }
	        return _getNode;
	    },
	    _onFocus:function (e) {
	        var _nodeInput = e.target || e.srcElement,
	            _nodeSpan = _nodeInput.nextSibling;
	        if(_nodeSpan.className == "ucs-placeholder"){
	            _nodeSpan.className = "ucs-placeholder hide";
	        }
	        this.props.onFocus && this.props.onFocus();
	    },
	    _handle:function(e){
	        var _nodeSpan = e.target || e.srcElement,
	            _node = _nodeSpan.parentNode,
	            _nodeInput = _node.firstChild;
	        if(_nodeSpan.className == "ucs-placeholder"){
	            _nodeSpan.className = "ucs-placeholder hide";
	        }
	        _nodeInput.focus();
	    },
	    _placeholder:function(_this){
	        if (!('placeholder' in document.createElement('input'))){
	            return (
	                React.createElement("span", {className: "ucs-placeholder", onClick: _this._handle}, _this.props.placeholder)
	            );
	        }else{
	            return "";
	        }
	    },
	    _onBlur:function(e){
	        if (!('placeholder' in document.createElement('input'))){
	            var _nodeInput = e.target || e.srcElement,
	                _node = _nodeInput.parentNode,
	                _nodeSpan = _node.lastChild;
	            if(!_nodeInput.value){
	                _nodeSpan.className = "ucs-placeholder";
	            }
	        }
	        this.props.onBlur && this.props.onBlur();
	    },
	    render:function(){
	        var _this = this;
	        var GiraffeObjectManager = window.GiraffObjectManager;
	        var MaxLength = GiraffeObjectManager[this.props.dmbind].maxLength;
	        if (MaxLength == undefined) {
	            return (
	                React.createElement("div", {className: "ucs-input-control"}, 
	                    React.createElement("input", {id: this.props.id, 
	                           className: "ucs-password " + this.props.className, 
	                           type: "password", 
	                           value: this.props.value, 
	                           dmbind: this.props.dmbind, 
	                           placeholder: this.props.placeholder, 
	                           onkeypress: this.props.onKeyPress, 
	                           onkeyup: this.props.onKeyUp, 
	                           onfocus: this._onFocus.bind(this), 
	                           onblur: this._onBlur.bind(this)}), 
	                    this._placeholder(this)
	                )
	            )

	        } else {
	            return (
	                React.createElement("div", {className: "ucs-input-control"}, 
	                    React.createElement("input", {
	                        id: this.props.id, 
	                        maxLength: MaxLength, 
	                        className: "ucs-password " + this.props.className, 
	                        type: "password", 
	                        value: this.props.value, 
	                        dmbind: this.props.dmbind, 
	                        placeholder: this.props.placeholder, 
	                        onkeypress: this.props.onKeyPress, 
	                        onkeyup: this.props.onKeyUp, 
	                        onfocus: this._onFocus.bind(this), 
	                        onblur: this._onBlur.bind(this)}), 
	                    this._placeholder(_this)
	                )
	            )
	        }
	    }
	});

	module.exports = Password;

/***/ },

/***/ 7:
/***/ function(module, exports, __webpack_require__) {

	/**
	 * Created by Administrator on 2017/3/1.
	 */
	var Label = __webpack_require__(8);

	var FormItem = React.createClass({displayName: "FormItem",
	    getDefaultProps:function(){
	        return{
	            id:"",
	            label:"",
	            dmbind:"",
	            className:"",
	            correctMsg:'',
	            unValidate:false
	        }
	    },
	    getInitialState:function(){
	        return {
	            tipHide:true,
	            text:'',
	            msgClass:'ucs-form-explain'
	        }
	    },
	    componentDidMount:function(){
	        var ICON_FONT_CONST = window.UI_CONST.ICON_FONT_CONST;
	        var iconCorrect = ICON_FONT_CONST['icon-correct'];

	        var _udmid = this.props.dmbind;
	        var _this = this;
	        UEventHub.on(_udmid + UI_EVENT_CONST.ONVALIDATE_EVENT,function(msg){
	            if(_this.props.unValidate) return;
	            setTimeout(function () {
	                var _msg = msg;
	                if(!_msg){
	                    _this.refs[_this.props.dmbind].className = "ucs-form-explain success";
	                    _this.refs[_this.props.dmbind].innerHTML = '<div><i class="iconfont ">'+iconCorrect+'</i>'+_this.props.correctMsg+'</div>';
	                }else if(_msg == "clean"){
	                    _this.refs[_this.props.dmbind].className = "ucs-form-explain";
	                    _this.refs[_this.props.dmbind].innerHTML = '<div></div>';
	                }else{
	                    _this.refs[_this.props.dmbind].className = "ucs-form-explain";
	                    _this.refs[_this.props.dmbind].innerHTML = '<div><i class="iconfont icon-error"></i>'+_msg+'</div>';
	                }
	            },0)

	        }.bind(this));

	        GiraffObjectManager[_this.props.dmbind].reset = function(){
	            return _this.clearValue();
	        }

	    },
	    getChildrenRefs:function(ref){
	        return this.refs[ref];
	    },
	    clearValue:function(){
	        var _this = this;
	        GiraffObjectManager[_this.props.dmbind].value = "";
	        _this.setState({
	            msgClass:"ucs-form-explain hide"
	        });
	    },
	    render:function(){
	        var _this = this;
	        return(
	            React.createElement("div", React.__spread({},  this.props, {className: "ucs-form-group " + this.props.className, id: this.props.id}), 
	                React.createElement(Label, {value: this.props.label}), 
	                
	                    this.props.children.map(function(item,idx){
	                        if(item.tagName == "INPUT" || item.tagName == "TEXTAREA" || item.displayName == "Input" || item.displayName == "Password" || item.displayName == "Textarea"){
	                            return React.cloneElement(item,{
	                                onFocus:function(){
	                                    _this.refs[_this.props.dmbind].className = "ucs-form-explain hide";
	                                },
	                                value:GiraffObjectManager[_this.props.dmbind].value
	                            });
	                        }else{
	                            return item;
	                        }
	                    }), 
	                
	                React.createElement("div", {className: this.state.msgClass, ref: this.props.dmbind}, this.state.text)
	            )
	        )
	    }
	});

	module.exports = FormItem;

/***/ },

/***/ 8:
/***/ function(module, exports) {

	/**
	 * Created by DuHuiling on 2017/2/24.
	 */
	var Label = React.createClass({displayName: "Label",
	    getDefaultProps:function(){
	        return {
	            id:"",
	            setFor:"",
	            value:"这是Label",
	            className:""
	        }
	    },
	    render:function(){
	        return(
	            React.createElement("label", {id: this.props.id, For: this.props.setFor, className: "ucs-label "+this.props.className}, this.props.value)
	        )
	    }
	});
	module.exports = Label;

/***/ },

/***/ 9:
/***/ function(module, exports) {

	var Input = React.createClass({displayName: "Input",
	    getDefaultProps: function () {
	        return {
	            className: 'ucs-input',
	            dmbind: '',
	            placeholder: "",
	            onFocus: function () {
	            },
	            onBlur: function () {
	            }
	        };
	    },
	    componentDidMount: function () {
	    },
	    _onKeyUp:function (e) {
	          this.props.onKeyUp && this.props.onKeyUp(e);
	    },
	    _onFocus: function (e) {
	        var _nodeInput = e.target || e.srcElement,
	            _nodeSpan = _nodeInput.nextSibling;
	        if (_nodeSpan.className == "ucs-placeholder") {
	            _nodeSpan.className = "ucs-placeholder hide";
	        }
	        this.props.onFocus && this.props.onFocus();
	    },
	    _handle: function (e) {
	        var _nodeSpan = e.target || e.srcElement,
	            _node = _nodeSpan.parentNode,
	            _nodeInput = _node.firstChild;
	        if (_nodeSpan.className == "ucs-placeholder") {
	            _nodeSpan.className = "ucs-placeholder hide";
	        }
	        _nodeInput.focus();
	    },
	    _placeholder: function (_this) {
	        if (!('placeholder' in document.createElement('input'))) {
	            return (
	                React.createElement("span", {className: "ucs-placeholder", onClick: _this._handle}, _this.props.value ? _this.props.value : _this.props.placeholder)
	            );
	        } else {
	            return "";
	        }
	    },
	    _onBlur: function (e) {
	        if (!('placeholder' in document.createElement('input'))) {
	            var _nodeInput = e.target || e.srcElement,
	                _node = _nodeInput.parentNode,
	                _nodeSpan = _node.lastChild;
	            if (!_nodeInput.value) {
	                _nodeSpan.className = "ucs-placeholder";
	                _nodeSpan.innerHTML = this.props.placeholder;
	            }
	        }
	        this.props.onBlur && this.props.onBlur();
	    },
	    focus:function () {
	        this.refs.input.focus();

	    },
	    checkPlaceHolder:function () {
	        if (!('placeholder' in document.createElement('input'))) {
	            var _nodeInput = this.refs.input,
	                _node = _nodeInput.parentNode,
	                _nodeSpan = _node.lastChild;
	            if (!_nodeInput.value) {
	                _nodeSpan.className = "ucs-placeholder";
	                _nodeSpan.innerHTML = this.props.placeholder;
	            }
	        }
	    },
	    render: function () {
	        var that = this;
	        var GiraffeObjectManager = window.GiraffObjectManager;
	        if(this.props.dmbind){
	            var MaxLength = GiraffeObjectManager[this.props.dmbind].maxLength;
	            GiraffeObjectManager[this.props.dmbind].focus = function () {
	                document.getElementById(that.props.dmbind).focus();  //todo:这是一个比较麻烦的问题，后续再优化，暂时先这样把
	            }
	        }
	        if (MaxLength == undefined) {
	            return (
	                React.createElement("div", {className: "ucs-input-control"}, 
	                    React.createElement("input", {ref: "input", 
	                           type: "text", 
	                           id: this.props.dmbind, 
	                           value: this.props.value ? this.props.value : '', 
	                           className: this.props.className, 
	                           dmbind: this.props.dmbind, 
	                           placeholder: this.props.placeholder, 
	                           onkeyup: this._onKeyUp.bind(this), 
	                           onfocus: this._onFocus.bind(this), 
	                           onblur: this._onBlur.bind(this)}), 
	                    this._placeholder(this)
	                )
	            )

	        } else {
	            return (
	                React.createElement("div", {className: "ucs-input-control"}, 
	                    React.createElement("input", {ref: "input", 
	                           maxLength: MaxLength, 
	                           type: "text", 
	                           id: this.props.dmbind, 
	                           value: this.props.value ? this.props.value : '', 
	                           className: this.props.className, 
	                           dmbind: this.props.dmbind, 
	                           placeholder: this.props.placeholder, 
	                           onkeyup: this._onKeyUp.bind(this), 
	                           onfocus: this._onFocus.bind(this), 
	                           onblur: this._onBlur.bind(this)}), 
	                    this._placeholder(this)
	                )
	            )

	        }

	    }
	})
	module.exports = Input;

/***/ },

/***/ 10:
/***/ function(module, exports) {

	/**
	 * Created by Administrator on 2017/3/10.
	 */

	var GetCode = React.createClass({displayName: "GetCode",
	    getDefaultProps:function(){
	        return{
	            text:"获取验证码",
	            count: 10
	        }
	    },
	    getInitialState:function(){
	        return{
	            _className:this.props.className ? "ucs-btn "+this.props.className : "ucs-btn",
	            _text:this.props.text,
	            _disabled:false
	        }
	    },
	    toCount:function(){
	        var _this = this;
	        var count = _this.props.count,
	            className = _this.props.className ? "ucs-btn "+_this.props.className : "ucs-btn";
	        _this.setState({
	            _className : className + " ucs-btn-disabled",
	            _text : count + "秒后重新获取",
	            _disabled : true
	        });
	        _this.time = setInterval(function(){
	            if(count > 0){
	                count--;
	                _this.setState({
	                    _text : count + "秒后重新获取"
	                })
	            }else{
	                clearInterval(_this.time);
	                var GiraffeObjectManager = window.GiraffObjectManager;
	                if(_this.props.dmbind){
	                    GiraffeObjectManager[_this.props.dmbind].setError('clean');
	                }
	                _this.setState({
	                    _className : className,
	                    _text : _this.props.text,
	                    _disabled : false
	                });
	            }
	        },1000);
	    },
	    stopCount:function(){
	        var _this = this;
	        this.setState({
	            _className:this.props.className ? "ucs-btn "+this.props.className : "ucs-btn",
	            _text:this.props.text,
	            _disabled:false
	        });
	        clearInterval(_this.time);
	    },
	    render:function(){
	        return(
	            React.createElement("button", {disabled: this.state._disabled, onClick: this.props.onClick, onMouseDown: this.props.onMouseDown, className: this.state._className}, this.state._text)
	        )
	    }
	});
	module.exports = GetCode;

/***/ },

/***/ 12:
/***/ function(module, exports) {

	var Button = React.createClass({displayName: "Button",
		getInitialState:function () {
			return{
				disabled:this.props.disabled || false
			}
	    },
		getDefaultProps:function(){
			return{
				// disabled:false
			}
		},
		_handler:function(){
			var _this = this;
	        this.props.onClick();
		},
		render: function() {
			var _this = this;
			if(this.props.dmbind){
	            GiraffObjectManager[this.props.dmbind].setDisabled = function(bool){
	                if(bool){
	                    _this.setState({
	                        disabled:true
	                    })
	                }else{
	                    _this.setState({
	                        disabled:false
	                    })
	                }
	            };
			}

	        var customClassName = this.props.className ? 'ucs-btn '+this.props.className : 'ucs-btn';
	        customClassName = this.state.disabled ? customClassName + " ucs-btn-disabled" : customClassName;
			var id = this.props.id?this.props.id:'';
			if(this.props.href){
				return React.createElement("a", {id: id, onClick: this.props.onClick, className: customClassName, href: this.props.href}, this.props.value)
			}else{
				return React.createElement("button", {id: id, disabled: this.state.disabled, onClick: this._handler.bind(this), onMouseDown: this.props.onMouseDown, className: customClassName}, this.props.value)
			}
		}
	})
	module.exports = Button;

/***/ },

/***/ 16:
/***/ function(module, exports) {

	var Checkbox = React.createClass({displayName: "Checkbox",
	    getDefaultProps:function(){
	        return{
	            id: "",
	            value: "",
	            dmbind:""
	        }
	    },
	    handler: function (e) {
	        var _input = e.target || e.srcElement,
	            _checked = _input.checked;
	        this.props.onClick && this.props.onClick(_checked);
	    },
	    render: function () {
	        var checked = this.props.value ? true : false;
	        var className = this.props.className;
	        var text = this.props.text ? this.props.text : '';
	        return (
	            React.createElement("label", {className: className ? "ucs-checkbox " + className : "ucs-checkbox"}, 
	                React.createElement("input", {type: "checkbox", checked: checked, id: this.props.id, value: this.props.value, className: "ucs-checkbox-input", dmbind: this.props.dmbind, 
	                       onClick: this.handler.bind(this)}), 
	                React.createElement("span", {className: "ucs-checkbox-text"}, text)
	            )
	        )
	    }
	});

	module.exports = Checkbox;




/***/ },

/***/ 17:
/***/ function(module, exports) {

	/**
	 * Created by DuHuiling on 2017/2/20.
	 */
	var HyperLink = React.createClass({displayName: "HyperLink",
	    getDefaultProps:function(){
	        return {
	            "id":"",
	            "className":"",
	            "href":"javascript:void(0)",
	            "text":""
	        }
	    },
	    render:function(){
	        return (
	            React.createElement("a", {id: this.props.id, className: "ucs-hyper-link "+this.props.className, href: this.props.href, onClick: this.props.onClick}, this.props.text)
	        )
	    }
	});

	module.exports = HyperLink;

/***/ },

/***/ 67:
/***/ function(module, exports, __webpack_require__) {

	/**
	 * Created by Administrator on 2017/3/15.
	 */
	var HyperLink = __webpack_require__(17);

	var Result = React.createClass({displayName: "Result",
	    getDefaultProps:function() {
	        return{
	            pagedm:this.props.pagedm
	        }
	    },
	    getInitialState:function(){
	        return{
	            home:PageDM.URL.home,
	            successTxt:PageDM.RegSuccess.value.successTxt?PageDM.RegSuccess.value.successTxt:"",
	            count:PageDM.RegSuccess.value.count?PageDM.RegSuccess.value.count:5,
	            turnTxt:PageDM.RegSuccess.value.turnTxt?PageDM.RegSuccess.value.turnTxt:"",
	            turnLink:PageDM.RegSuccess.value.turnLink?PageDM.RegSuccess.value.turnLink:""
	        }
	    },
	    componentDidMount:function(){
	        var _this = this;
	        var _nodeSec = this.refs.second;
	        var second = Number(_nodeSec.innerText);
	        var time = setInterval(function(){
	            if(second > 0){
	                second--;
	                _nodeSec.innerText = second;
	            }else{
	                clearInterval(time);
	                window.location.href = _this.state.turnLink;
	            }
	        },1000);
	    },
	    render:function(){
	        var pagedm = this.props.pagedm;
	        return(
	            React.createElement("div", {className: "text-wrap"}, 
	                React.createElement("h1", null, React.createElement("i", {className: "icon-success iconfont"}), this.state.successTxt), 
	                React.createElement("p", null, "系统将在 ", React.createElement("span", {className: "fc-main", ref: "second"}, this.state.count), " 秒后自动跳转至", this.state.turnTxt, "，您可以选择直接 ", React.createElement(HyperLink, {href: this.state.home, text: "返回首页", className: "fc-link"}))
	            )
	        )
	    }
	});
	module.exports = Result;

/***/ }

/******/ });